package data.reader;

import gui.reader.MyBorrowWin;

public class MyBorrow {
    MyBorrowWin win;
    String username;
    public MyBorrow(String a){
        username=a;
        win=new MyBorrowWin(username);
        win.getSelect().addActionListener(e->{
            //清除原表格中的内容
            win.getModel().setRowCount(0);
            win.intable();
        });
    }
}
